package com.gpframework.module.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 角色和菜单关联 sys_role_menu
 *
 * @Author gpframework
 */
public class SysRoleMenu {
    /**
     * 角色ID
     */
    private Long brandRoleId;

    /**
     * 菜单ID
     */
    private Long brandMenuId;

    /**
     * 品牌id
     */
    private Long brandId;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getBrandRoleId() {
        return brandRoleId;
    }

    public void setBrandRoleId(Long brandRoleId) {
        this.brandRoleId = brandRoleId;
    }

    public Long getBrandMenuId() {
        return brandMenuId;
    }

    public void setBrandMenuId(Long brandMenuId) {
        this.brandMenuId = brandMenuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("brandId", getBrandId())
                .append("brandRoleId", getBrandRoleId())
                .append("brandMenuId", getBrandMenuId())
                .toString();
    }
}
